package cn.cdqf.mapper;

import cn.cdqf.bean.TClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassMapper {
    List<TClass> getClassName();

    List<TClass> queryClass();

    int deleteClass(@Param("id") Integer id);

    TClass queryClassById(Integer id);

    int updateClass(TClass tClass, int id);

    int addClass(TClass tClass);
}
